This plugin allows you to execute the old-fashioned FKEY code in REALbasic versions 1.x and 2.x. Some common FKEYs available in the MacOS include FKEY 3 and FKEY 4 for taking screenshots. All of the shortcuts pertinent to screenshots are also available. For example, when using FKEY 4, if the CAPS lock is depressed, the screenshot will be limited to one window (whichever window you select).
I realize that this can be accomplished through various XCMDs, but I find it less tedious to have a native plugin. Now I won't lose it. :-) I made it for myself first and now offer it free for you to abuse at your own peril.
The syntax is as follows:
DoFKey(i as integer) as integer
'i' is an integer that represents the FKEY number you wish to execute. The function returns
a meaningless integer.
For example, to take a full screenshot, simply place this code in the Action event of a PushButton.